﻿using System.Collections.Generic;
using GSQ.BusinessEntities;

namespace GSQ.BusinessLogic
{
    public interface ILogicBase
    {
        decimal Insert(EntityBase value);

        decimal Update(EntityBase newValue, EntityBase oldValue);

        List<EntityBase> GetAll();

        EntityBase GetById(decimal id);
    }
}
